/**
 * 零基础学C语言
 * 
 * @version 1st
 * @author 明日科技
 * @see http://www.mingrisoft.com
 */

#include <stdio.h>

int main() {
    int iNumber;

    printf("please enter a number: \n");
    scanf("%d", &iNumber);

    if (iNumber % 2 == 0) {
        printf("%d is even number.\n", iNumber);
    } else {
        printf("%d is odd number.\n", iNumber);
    }
    
    return 0;
}

/*
output:
the result is : 2
the result is : 59
the result is : 99
*/